package com.april.pattern.creational.factory.abstractfactory;

import org.junit.jupiter.api.Test;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/06/22 20:38
 * @description 抽象工厂的测试
 */
public class AbstractFactoryTest {
    @Test
    public void abstractFactoryTest() {
        CourseFactory courseFactory = new JavaCourseFactory();
        courseFactory.getVideo().produce();
        courseFactory.getArticle().produce();
    }
}
